package com.zbec.mdrs.web;

import javax.servlet.http.HttpServletRequest;

import com.zbec.framework.security.service.SecurityService;
import com.zbec.mdrs.service.SysPasswordService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class HomeController {
	private Logger logger = LoggerFactory.getLogger(HomeController.class);

	@Autowired
	private SysPasswordService sysPasswordService;

	@Autowired
	private SecurityService securityService;

	@RequestMapping(value = "/home")
	public String home(HttpServletRequest request) {
		return "home";
	}

    @RequestMapping(value = "/home/portalets")
	public ModelAndView portalets(HttpServletRequest request) {
		ModelAndView view=new ModelAndView("portalets");
		return view;
	}
}
